package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName DeleteWarnStrategy.java
 * @createTime 2022年02月28日
 */
@Data
@ApiModel("报警策略删除")
public class DeleteWarnStrategyRequest {
    @Valid
    @NotNull(message = "id不能为空")
    @Size(min = 1, message = "至少包含一个内容")
    @ApiModelProperty("策略id结合")
    List<String> warnStrategyIds;
}
